package com.grades.springboot.service;

import com.grades.springboot.entity.Result;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface CaptchaService {

    Result<?> getCaptcha(HttpServletRequest request, HttpServletResponse response);

    Boolean checkCaptcha(String code,HttpServletRequest request);
}
